package com.chexiehui.jc.jpush;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;

@Entity
public class JpushMessage implements Serializable{
    public static final long serialVersionUID = 536871008L;
    @Id
    private String messageId;
    private String title;
    private String content;
    private String modelname;
    private String modelid;
    private boolean noread;
    private String userId;


    @Generated(hash = 950376634)
    public JpushMessage(String messageId, String title, String content,
            String modelname, String modelid, boolean noread, String userId) {
        this.messageId = messageId;
        this.title = title;
        this.content = content;
        this.modelname = modelname;
        this.modelid = modelid;
        this.noread = noread;
        this.userId = userId;
    }

    @Generated(hash = 1215806406)
    public JpushMessage() {
    }

    
    public String getMessageId() {
        return messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getModelname() {
        return modelname;
    }

    public void setModelname(String modelname) {
        this.modelname = modelname;
    }

    public String getModelid() {
        return modelid;
    }

    public void setModelid(String modelid) {
        this.modelid = modelid;
    }

    public boolean isNoread() {
        return noread;
    }

    public void setNoread(boolean noread) {
        this.noread = noread;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public boolean getNoread() {
        return this.noread;
    }
}
